import {NgModule} from '@angular/core';
import {MonthCalendarComponent} from "./calendar/calendar";
import {IonicPageModule} from "ionic-angular";
import {CalendarComponent} from "ap-angular2-fullcalendar";
import {NgCalendarModule} from "./ng-calendar/calendar.module";
import { SonComponent } from './son/son';

@NgModule({
    declarations: [
        CalendarComponent,
        MonthCalendarComponent,
    SonComponent,//无module组件在这里声明
    ],
    imports: [//有module组件在这里引入
        NgCalendarModule,
        IonicPageModule.forChild(ComponentsModule),
    ],
    exports: [
        NgCalendarModule,
        CalendarComponent,
        MonthCalendarComponent,
    SonComponent
    ]
})
export class ComponentsModule {
}
